﻿using System.Collections.Generic;
using System.Runtime.Serialization;
using CWB.Web.DB;
using CWB.Web.Models;

namespace CWB.WebSite.Models.Agent
{
    //Agent listing.
    [DataContract]
    public class PlaceOrderViewModel : ResultBase
    {
        [DataMember(Name = "items")]
        public List<AgentProdItemViewModel> ProdItems { get; set; }
        [DataMember(Name = "agsn")]
        public int AgentSN { get; set; }
    }


    [DataContract]
    public class AgentProdItemViewModel
    {
        [DataMember(Name = "psn")]
        public int prodSN;
        [DataMember(Name = "pname")]
        public string prodName;
        [DataMember(Name = "pid")]
        public string prodid;
    }
}
